package io.xxx.xbutler.sdk.request;

import io.xxx.xbutler.sdk.TanJingRequest;
import io.xxx.xbutler.sdk.response.ConfirmScanCodeAuthorizeResponse;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 商家确认登录授权结果接口
 * <p>
 * 请求商家机器人账号密码托管登录接口收到授权二维码，扫码确认后调用此接口告知开平已扫码。
 */
@Data
@Accessors(chain = true)
public class ConfirmScanCodeAuthorizeRequest implements TanJingRequest<ConfirmScanCodeAuthorizeResponse> {

    @Override
    public String path() {
        return "/scrm/robot/confirm-scan-code-authorize";
    }

    @Override
    public Map<String, Object> params() {
        return Map.of();
    }

    @Override
    public Class<ConfirmScanCodeAuthorizeResponse> responseType() {
        return null;
    }
}
